package com.ruoyi.base.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.ibatis.type.JdbcType;

import java.util.Date;

/**
 * @author fuzhen-pc
 * @description TODO
 * @date 2023/7/13 8:47
 */
@Data
@TableName("S_MENU_FINEREPORT")
@KeySequence("SEQ_S_MENU_FINEREPORT")
public class SMenuFinereport{

    @TableId(value = "ID",type = IdType.INPUT)
    private Long id;

    @TableField("MENU_NAME")
    private String menuName;

    @TableField(value = "COMPANY_COD",jdbcType = JdbcType.VARCHAR)
    private String companyCod;

    @TableField("MODULE_NAME")
    private String moduleName;

    @TableField("MODULE_URL")
    private String moduleUrl;

    @TableField("SORT")
    private Integer sort;

    private String delFlag;

    @TableField(value = "create_by",fill = FieldFill.INSERT)
    private String createBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(value = "create_time",fill = FieldFill.INSERT)
    private Date createTime;

    /** 更新者 */
    @TableField(value = "update_by",fill = FieldFill.UPDATE)
    private String updateBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(value = "update_time",fill = FieldFill.UPDATE)
    private Date updateTime;

}
